]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Remove extra parameter on boolean ParamSpec initialization
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 9 Aug 2019 00:17:49 +0000 (02:17 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 9 Sep 2019 19:28:18 +0000 (19:28 +0000)
PopupBaseMenuItem properties were initialized using wrong param spec
signature, fix this by removing the extra parameter.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700

js/ui/popupMenu.js

index 1943b269f96d9533c29abd0ae26fa17f2a562df9..31506dcdfa63c092e598905bb355945f6de1c26a 100644 (file)
@@ -57,11 +57,9 @@ var PopupBaseMenuItem = GObject.registerClass({
     Properties: {
         'active': GObject.ParamSpec.boolean('active', 'active', 'active',
                                             GObject.ParamFlags.READWRITE,
-                                            GObject.TYPE_BOOLEAN,
                                             false),
         'sensitive': GObject.ParamSpec.boolean('sensitive', 'sensitive', 'sensitive',
                                                GObject.ParamFlags.READWRITE,
-                                               GObject.TYPE_BOOLEAN,
                                                true),
     },
     Signals: {